|
|
|
|
|
|
|
by definition is a collection of files used to build an application. As you work on your application, you'll be working with many different files. Your project will include: |
|
|
|
|
|
|
|
|
One or more form files (.FRM) |
|
|
|
|
|
|
|
|
Binary files related to the form files (.FRX) |
|
|
|
|
|
|
|
|
In addition to these required files, your project might also contain: |
|
|
|
|
|
|
|
|
One or more standard modules (.BAS) |
|
|
|
|
|
|
|
|
One or more class modules (.CLS) |
|
|
|
|
|
|
|
|
Any ActiveX controls needed (.OCX) |
|
|
|
|
|
|
|
|
Finally, if you are using one of the new ActiveX Designers, your project would also contain: |
|
|
|
|
|
|
|
|
To maintain your project files, you'll use the Project Explorer window, which always displays a current list of files in the project. The Project Explorer window in Figure 1.4 shows some of the different file types that you may have included in your project. |
|
|
|
|
|
|
|
|
Figure 1.4.
Every file in your
application's project is
listed in the Project
Explorer window. |
|
|
|
|
|
|
|
|
Whenever you add, remove, or modify any files in your application, you need to save your project. Each time you save the project, Visual Basic updates the project file. The project file contains the same list of files shown in the Project Explorer window, as well as references to the ActiveX controls and other objects being used in the project. Figure 1.5 shows an example of a project file's contents. |
|
|
|
|
|